package com.ate.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author Ate
 * @description:
 * @date :2020/12/25 13:13
 */
@Entity(nameInDb = "goods.db")
public class BuyCarBean {
    @Id(autoincrement = true)
    private Long id;
    private boolean isChecked;
    private int buyCount;
    private String goodsName;
    private String pic;
    private String price;
    private String model;
    @Generated(hash = 1426341925)
    public BuyCarBean(Long id, boolean isChecked, int buyCount, String goodsName,
            String pic, String price, String model) {
        this.id = id;
        this.isChecked = isChecked;
        this.buyCount = buyCount;
        this.goodsName = goodsName;
        this.pic = pic;
        this.price = price;
        this.model = model;
    }
    @Generated(hash = 1537142563)
    public BuyCarBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public boolean getIsChecked() {
        return this.isChecked;
    }
    public void setIsChecked(boolean isChecked) {
        this.isChecked = isChecked;
    }
    public int getBuyCount() {
        return this.buyCount;
    }
    public void setBuyCount(int buyCount) {
        this.buyCount = buyCount;
    }
    public String getGoodsName() {
        return this.goodsName;
    }
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    public String getPic() {
        return this.pic;
    }
    public void setPic(String pic) {
        this.pic = pic;
    }
    public String getPrice() {
        return this.price;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    public String getModel() {
        return this.model;
    }
    public void setModel(String model) {
        this.model = model;
    }


}
